package org.jeecg.modules.system.entity;

import java.sql.Timestamp;
import java.util.Objects;

public class BizEquipmentEntity {
    private Object eqId;
    private String eqCode;
    private Object siteId;
    private String eqName;
    private String company;
    private Integer eqType;
    private String dtuId;
    private String modbus;
    private int electType;
    private String remark;
    private Object creatorId;
    private Timestamp createTime;
    private Object modifierId;
    private Timestamp modifyTime;
    private Object status;

    public Object getEqId() {
        return eqId;
    }

    public void setEqId(Object eqId) {
        this.eqId = eqId;
    }

    public String getEqCode() {
        return eqCode;
    }

    public void setEqCode(String eqCode) {
        this.eqCode = eqCode;
    }

    public Object getSiteId() {
        return siteId;
    }

    public void setSiteId(Object siteId) {
        this.siteId = siteId;
    }

    public String getEqName() {
        return eqName;
    }

    public void setEqName(String eqName) {
        this.eqName = eqName;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Integer getEqType() {
        return eqType;
    }

    public void setEqType(Integer eqType) {
        this.eqType = eqType;
    }

    public String getDtuId() {
        return dtuId;
    }

    public void setDtuId(String dtuId) {
        this.dtuId = dtuId;
    }

    public String getModbus() {
        return modbus;
    }

    public void setModbus(String modbus) {
        this.modbus = modbus;
    }

    public int getElectType() {
        return electType;
    }

    public void setElectType(int electType) {
        this.electType = electType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Object getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Object creatorId) {
        this.creatorId = creatorId;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Object getModifierId() {
        return modifierId;
    }

    public void setModifierId(Object modifierId) {
        this.modifierId = modifierId;
    }

    public Timestamp getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Timestamp modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        BizEquipmentEntity that = (BizEquipmentEntity) o;
        return electType == that.electType && Objects.equals(eqId, that.eqId) && Objects.equals(eqCode, that.eqCode) && Objects.equals(siteId, that.siteId) && Objects.equals(eqName, that.eqName) && Objects.equals(company, that.company) && Objects.equals(eqType, that.eqType) && Objects.equals(dtuId, that.dtuId) && Objects.equals(modbus, that.modbus) && Objects.equals(remark, that.remark) && Objects.equals(creatorId, that.creatorId) && Objects.equals(createTime, that.createTime) && Objects.equals(modifierId, that.modifierId) && Objects.equals(modifyTime, that.modifyTime) && Objects.equals(status, that.status);
    }

    @Override
    public int hashCode() {
        return Objects.hash(eqId, eqCode, siteId, eqName, company, eqType, dtuId, modbus, electType, remark, creatorId, createTime, modifierId, modifyTime, status);
    }
}
